﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductMenu.ascx.cs" Inherits="control_ProductMenu" %>

<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td align="left" class="productMenuHeaderPart">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="4">
            <asp:Repeater ID="productCategoryMenu" runat="server" DataSourceID="productCategoryMenuData">
                <HeaderTemplate>
                    <table class="menuList">
                </HeaderTemplate>
                <ItemTemplate>
                    <td>&nbsp;</td>
                        <td>
                            <a class="menuItemLink" href='<%= rootPath %>productlist.aspx?id=<%# Eval("CategoryValue")  %>' class="menuItemLink"><%# Eval("CategoryName")  %></a>
                        </td>
                    </tr>
                </ItemTemplate>
                <SeparatorTemplate>
                </SeparatorTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </td>
    </tr>
</table>

<asp:ObjectDataSource ID="productCategoryMenuData" runat="server" OnSelected="productCategoryMenuData_Selected" 
    TypeName="Pheonix.Fashionzoomer.CustomEntity.ProductTopCategory" SelectMethod="GetTopProductCategoryList">
</asp:ObjectDataSource>